<template>
  <div class="app-container home">
    <el-row :gutter="20">
      <el-col :sm="24" :lg="12" style="padding-left: 20px">
        <h2>ruoyi-vue-solon后台管理框架</h2>
        <p >
          ruoyi-vue-solon 是基于 RuoYi-Vue 对后端框架使用<el-link type="primary"  href="http://solon.noear.org/" target="_blank">solon</el-link>重新实现的框架
          <br />
          * 前端开发框架 Vue、Element UI<br />
          * 后端开发框架 solon<br />
          * http服务器smarthttp<br />
          * 权限认证框架 Sa-Token<br />
          * 关系数据库 MySQL 适配 8.X<br />
          * 缓存数据库 Redis 适配 5.X<br />
          * 数据库框架 <el-link type="primary" href="https://mybatis-flex.com/" target="_blank">Mybatis-flex</el-link> <br />
          * 支持<el-link type="primary" href="https://mybatis-flex.com/zh/core/multi-datasource.html" target="_blank">多数据源</el-link> <br />
          * 序列化框架 <el-link type="primary" href="https://gitee.com/noear/snack3" target="_blank">snack3</el-link><br />
          * Redis客户端 redisx<br />
          * 分布式锁未实现，实现方式见solon分布式锁部分<br />
          * 分布式文件存储 Minio<br />
          * Excel框架 easypoi<br />
          * 工具类框架 Hutool、Lombok 减少代码冗余 增加安全性<br />
          * 代码生成器仅实现了后端<br />
        </p>
        <p>
          <b>当前版本:</b> <span>v{{ version }}</span>
        </p>
        <p>
          <el-tag type="danger">&yen;免费开源</el-tag>
        </p>
        <p>
          <el-button type="primary" size="mini" icon="el-icon-cloudy" plain
            @click="goTarget('https://gitee.com/dromara/ruoyi-vue-solon')">访问码云</el-button>
        </p>
      </el-col>

      <el-col :sm="24" :lg="12" style="padding-left: 50px">
        <el-row>
          <el-col :span="12">
            <h2>技术选型</h2>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="6">
            <h4>后端技术</h4>
            <ul>
              <li>solon</li>
              <li>Sa-Token</li>
              <li>MyBatis-flex</li>
              <li>Hikari</li>
              <li>snack3</li>
              <li>...</li>
            </ul>
          </el-col>
          <el-col :span="6">
            <h4>前端技术</h4>
            <ul>
              <li>Vue</li>
              <li>Vuex</li>
              <li>Element-ui</li>
              <li>Axios</li>
              <li>Sass</li>
              <li>Quill</li>
              <li>...</li>
            </ul>
          </el-col>
        </el-row>
      </el-col>
    </el-row>
    <el-divider />
  </div>
</template>

<script>
export default {
  name: "Index",
  data() {
    return {
      // 版本号
      version: "0.9.0",
    };
  },
  methods: {
    goTarget(href) {
      window.open(href, "_blank");
    },
  },
};
</script>

<style scoped lang="scss">
.home {
  blockquote {
    padding: 10px 20px;
    margin: 0 0 20px;
    font-size: 17.5px;
    border-left: 5px solid #eee;
  }

  hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee;
  }

  .col-item {
    margin-bottom: 20px;
  }

  ul {
    padding: 0;
    margin: 0;
  }

  font-family: "open sans",
  "Helvetica Neue",
  Helvetica,
  Arial,
  sans-serif;
  font-size: 13px;
  color: #676a6c;
  overflow-x: hidden;

  ul {
    list-style-type: none;
  }

  h4 {
    margin-top: 0px;
  }

  h2 {
    margin-top: 10px;
    font-size: 26px;
    font-weight: 100;
  }

  p {
    margin-top: 10px;

    b {
      font-weight: 700;
    }
  }

  .update-log {
    ol {
      display: block;
      list-style-type: decimal;
      margin-block-start: 1em;
      margin-block-end: 1em;
      margin-inline-start: 0;
      margin-inline-end: 0;
      padding-inline-start: 40px;
    }
  }
}
</style>

